#include <cmath>

ld average(dataList __dataList){
	ld sum = 0.0l;
	for(int i =0; i< __dataList.point.size();i++){
		sum+= __dList.point[i];
	}
	return sum/__dataList.point.size();
}

ld simpleBessel(dataList __dList){
	ld avrg = __dList.Average();
	ld buffer = 0.0l;
	for(int i =0; i< __dList.point.size();i++){
		buffer+=(__dList.point[i] - avrg) * (__dList.point[i] - avrg);
	}
	return sqrt(buffer/(__dList.point.size() - 1));
}

